/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package books;

import javax.ejb.EJB;
import javax.ejb.Stateless;
import javax.ejb.LocalBean;

/**
 *
 * @author Giuseppe
 */
@Stateless
@LocalBean
public class Gestore {
    @EJB
    private BookFacade bookFacade;

    // Add business logic below. (Right-click in editor and choose
    // "Insert Code > Add Business Method")

    public void addBook(Book libro) {
        bookFacade.create(libro);
    }
    
}
